projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
473a420
)
make js.el respect prog-first-column
author
Tom Tromey
<tom@tromey.com>
Thu, 23 Mar 2017 17:33:22 +0000
(11:33 -0600)
committer
Tom Tromey
<tom@tromey.com>
Wed, 5 Apr 2017 21:53:39 +0000
(15:53 -0600)
* lisp/progmodes/js.el (js--proper-indentation): Call prog-first-column.
lisp/progmodes/js.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/js.el
b/lisp/progmodes/js.el
index 3c720c05610dac810aaeb9b62c2fb5e6416b9c43..c220353e9b702c9d5944926092f2faf17febafbe 100644
(file)
--- a/
lisp/progmodes/js.el
+++ b/
lisp/progmodes/js.el
@@
-53,6
+53,7
@@
(require 'moz nil t)
(require 'json nil t)
(require 'sgml-mode)
+(require 'prog-mode)
(eval-when-compile
(require 'cl-lib)
@@
-2125,7
+2126,7
@@
indentation is aligned to that column."
((js--continued-expression-p)
(+ js-indent-level js-expr-indent-offset))
- (t
0
))))
+ (t
(prog-first-column)
))))
;;; JSX Indentation